<!--header-->
<header class="mui-bar mui-bar-nav mui-white">
	<!--如果left为空则显示返回按钮-->
	<a ng-click="goback()" class="mui-icon mui-icon-left-nav mui-pull-left"></a>
	<!--标题-->
	<h1 class="mui-title">交易记录</h1>
	<!--右侧内容-->
	<button class="mui-btn mui-btn-blue mui-btn-link mui-pull-right" ng-click="ScreenIsShow=!ScreenIsShow">{{ScreenIsShow?'收起':'筛选'}}</button>
</header>

<!--header end-->
<div class="mui-content">
	<div id="pullrefresh" class="mui-scroll-wrapper" ng-show="RecordList.length>0">
		<div class="mui-scroll">
			<!--数据列表-->
			<div class="RecordList">
				<ul class="mui-table-view" ng-if="RecordList.length>0">
					<li data-orderid="{{item.order_id}}" data-pid="{{item.product_type_pid}}" class="mui-table-view-cell" ng-repeat="item in RecordList track by $index">
						<a class="mui-navigate-right" href="javascript:void(0)">
							<span class="RecordList_l mui-pull-left">
				                 	   <h1>
				                 	   	<strong ng-if="item.trade_type==2||item.trade_type==3||item.trade_type==12">出借</strong>
				                 	   	<strong ng-if="item.trade_type==1||item.trade_type==11">充值</strong>
				                 	   	<strong ng-if="item.trade_type==5">提现</strong>
				                 	   	<strong ng-if="item.trade_type==19||item.trade_type==22">回款</strong>
				                 	   	<span ng-if="item.trade_type==3"> | 余额支付</span>
							<span ng-if="item.trade_type==2"> | 银行卡支付</span>
							<span ng-if="item.trade_type==19&&item.refund_type==1"> | 加息券利息收益</span>
							<span ng-if="item.trade_type==22"> | 加息券收益回款</span>
							</h1>
							<p>{{item.create_time}}</p>
							</span>
							<span class="RecordList_r mui-pull-right">
				                 	   <h1>{{item.amount|jiequ}}元</h1>
				                 	   <p ng-if="item.order_status==0">成功</p>
				                 	   <p ng-if="item.order_status==1" style="color: red;">失败</p>
				                 	   <p ng-if="item.order_status==4" style="color: blue;">处理中</p>
				                 	   <p ng-if="item.order_status==5" style="color: red;">失效</p>
				                 	   <p ng-if="item.order_status==2" style="color: blue;">订单生成状态</p>
				                 </span>
						</a>
					</li>

				</ul>
			</div>
		</div>

	</div>

</div>

<!--无数据-->
<div style="display: table-cell;vertical-align: middle;text-align: center;width: 100%;" id="empty" ng-show="RecordList.length==0">
	<img src="image/empty/empty_jiluxinxi@2x.png" style="width: 108px;height: 121px;" />
	<p style="margin-top: 20px;">暂无交易记录</p>
</div>

<!--筛选-->
<div ng-show="ScreenIsShow" ng-click="ScreenIsShow=false" class="mui-backdrop animated fadeIn" style="z-index:998;top: 44px;"></div>
<div ng-show="ScreenIsShow" class="Record_screen">
	<ul>
		<li class="active" trade_type="">全部</li>
		<li trade_type="1,11">充值</li>
		<li trade_type="5">提现</li>
		<li trade_type="2,3,12">出借</li>
		<li trade_type="19,22">回款</li>
	</ul>
</div>